package com.xxxy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

// 建议将类名改为符合Java命名规范的格式
@SpringBootApplication
@EnableResourceServer // 开启资源服务
public class ResourceServerApplication {  // 类名应首字母大写
    public static void main(String[] args) {
        SpringApplication.run(ResourceServerApplication.class, args);
    }
}

